package org.jeecg.modules.business.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: bus_member_message
 * @Author: jeecg-boot
 * @Date:   2023-04-08
 * @Version: V1.0
 */
@Data
@TableName("bus_member_message")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bus_member_message对象", description="bus_member_message")
public class BusMemberMessage implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**关联租户*/
	@Excel(name = "关联租户", width = 15)
    @ApiModelProperty(value = "关联租户")
    private String tenantId;
	/**关联酒店*/
	@Excel(name = "关联酒店", width = 15)
    @ApiModelProperty(value = "关联酒店")
    private String hotelId;
	/**房号id*/
	@Excel(name = "房号id", width = 15)
    @ApiModelProperty(value = "房号id")
    private String roomId;
	/**入住订单id*/
	@Excel(name = "入住订单id", width = 15)
    @ApiModelProperty(value = "入住订单id")
    private String livingOrderId;
	/**留言人*/
	@Excel(name = "留言人", width = 15)
    @ApiModelProperty(value = "留言人")
    private String userName;
	/**自动提醒时间*/
	@Excel(name = "自动提醒时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "自动提醒时间")
    private Date remindDate;
	/**有效时间*/
	@Excel(name = "有效时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "有效时间")
    private Date validDate;
	/**是否传达*/
	@Excel(name = "是否传达", width = 15)
    @ApiModelProperty(value = "是否传达")
    private Integer relay;
	/**留言内容*/
	@Excel(name = "留言内容", width = 15)
    @ApiModelProperty(value = "留言内容")
    private String contentBody;
	/**创建时间*/
	@Excel(name = "创建时间", width = 15, format = "yyyy-MM-dd HH:mm")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern="yyyy-MM-dd HH-mm")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @TableField(exist = false)
    private String roomNo;
}
